Introduction
This game simulates the situation where you have the choice of winning a price. All you
have to do is to pick the right box
There are three boxes ready for you, ONE contains the
price, the other two are completely empty.
Click on one of the three boxes, this is your
way of making a choice. When you have done so, the leader of the game show tells
you
that he will be a nice guy. Since he knows which box contains the price, he opens an
empty box. He NEVER opens the box you picked
Now to the interrestin question, you are give the choise to change your mind, and pick
another box.
What do you do ? You can either stick to your box, or change your mind
and pick the other possible box.
Does your chance of winning increase by changing the box ?
I know the answer, but do you ? (Make a guess and try figure it out by the simulation)
Enjoy ;)
Btw. the "Generate" button simply shows output from the random generator. Nothing more, nothing less
Download the source for Boxes.java and RandomIntGenerator.java